var express = require('express');
var router = express.Router();
var dataCtrl = require('../controllers/user.controller');




/* GET users listing. */
router.post('/data', dataCtrl.create);
router.post('/list',dataCtrl.list);
router.put('/data/:id',dataCtrl.update);
router.delete('/data/:id',dataCtrl.delete);

module.exports = router;
